package cn.wolfcode.luowowo.flight.service.impl;

import cn.wolfcode.luowowo.flight.domain.DoorTicket;
import cn.wolfcode.luowowo.flight.mapper.DoorTicketMapper;
import cn.wolfcode.luowowo.flight.query.DoorTicketQueryObject;
import cn.wolfcode.luowowo.flight.service.IDoorTicketService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class DoorTicketServiceImpl implements IDoorTicketService{

    @Autowired
    private DoorTicketMapper doorTicketMapper;
    @Override
    public List<DoorTicket> seletTicketList(DoorTicketQueryObject qo) {

        return doorTicketMapper.seletTicketList(qo);
    }

    @Override
    public DoorTicket queryById(Long tid) {

        return doorTicketMapper.selectByPrimaryKey(tid);
    }
}
